package com.example.demo.service;

import com.example.demo.controller.bean.Result;
import com.example.demo.dto.ClothingRequestDTO;
import com.example.demo.mapper.entity.Attribute;
import com.example.demo.mapper.entity.Clothing;
import com.example.demo.utils.PageBo;
import com.example.demo.utils.PageVo;

import java.util.List;

public interface ClothingManageService {
    PageVo<Clothing> getClothingList(PageBo pageBo);

    List<Clothing> searchClothingList(ClothingRequestDTO request);

    Result<String> addClothing(Clothing request);

    Result<String> updateClothingList(Clothing request);

    Clothing getById(int clothingId);

    void placeBadgePic(Clothing currentClothing);

    Result<String> deleteClothing(Clothing clothing);

    void batchDeleteClothing(List<Clothing> clothingList);
}
